package com.siae.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_item")
@Schema(name = "user_item",description = "团队成员信息")
public class UserItem {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @Schema(name = "name",description = "团队称号")
    @TableField(value = "name")
    private String name;
    @Schema(name = "userId",description = "负责人id")
    @TableField(value = "user_id")
    private Integer userId;
    @Schema(name = "userIdOne",description = "用户1id")
    @TableField(value = "user_id_one")
    private Integer userIdOne;
    @Schema(name = "userIdTwo",description = "用户2id")
    @TableField(value = "user_id_two")
    private Integer userIdTwo;
    @Schema(name = "userIdThree",description = "用户3id")
    @TableField(value = "user_id_three")
    private Integer userIdThree;
    @Schema(name = "itemId",description = "项目id")
    @TableField(value = "item_id")
    private Integer itemId;
    @Schema(name = "createdAt",description = "创建时间")
    @TableField(value = "created_at")
    private Date createdAt;
    @Schema(name = "updatedAt",description = "修改时间")
    @TableField(value = "updated_at")
    private Date updatedAt;
    @Schema(name = "isDel",description = "逻辑删除 0：未删 1：已删")
    @TableField(value = "is_del")
    private Integer isDel;


}
